﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Microsoft.Win32;
using System.Drawing;
//using AlienLabs.AlienFX.Tools;
using System.IO;

namespace AuroraLightsFX
{
    static class Program
    {
        public static Color clrAlienHead = Color.Black;
        public static Color clrAlienName = Color.Black;
        public static Color clrKeyboard = Color.Black;
        public static Color clrLightPipe = Color.Black;
        public static Color clrMouse = Color.Black;
        public static Color clrTouchPanel = Color.Black;

        public const string _RegKey = "Software\\AuroraLightsFX";
        public const string _AlienHead = "AlienHead";
        public const string _AlienName = "AlienName";
        public const string _Keyboard = "Keyboard";
        public const string _LightPipe = "LightPipe";
        public const string _TouchPanel = "TouchPanel";
        public const string _Mouse = "Mouse";
        public const string _PowerButton = "PowerButton";

        public const string _BottomGills = "BottomGills";
        public const string _MiddleGills = "MiddleGills";
        public const string _FrontUSB = "FrontUSB";
        public const string _PowerRim = "PowerRim";
        public const string _TopGills = "TopGills";
        public const string _FrontIO = "FrontIO";
        public const string _AlienEyes = "AlienEyes";
        public const string _LeftAlienHead = "LeftAlienHead";
        public const string _RightAlienHead = "RightAlienHead";
        public const string _FrontBays = "FrontBays";


        public const string _IsSystemTypeLaptop = "IsSystemTypeLaptop";
        
        public static bool WallPaperMode = false;
        public static bool StartUpMode = false;
        public static string lastWallPaper = string.Empty;
        public static AsyncRegMon regMon = null;
        

        [STAThread]
        static void Main(string []args)
        {


            if (args.Length>0)
            {
                foreach (string arg in args)
                {

                    switch (arg.ToLower())
                    {
                        case "/startup":
                            StartUpMode = true;
                            break;
                    }
                }

            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new frmMain());
            Application.Run(new AuroraLightsFX());
        }


    }
}
